  <!-- Footer Section Start -->
  <footer>
    <div id="contact" class="container-fluid bg-light footer">
      <div class="row">
        <div class="col-lg-12 col-md-12 col-12">
          <div class="first_footer">
            <div class="container footer-back-spacing">
              <div class="row">
                <?php
                // 获取设置信息
                $sql = "SELECT image, address, phone, email FROM setting WHERE id = 1";
                $result = $conn->query($sql);
                $setting = $result->fetch_assoc();
                ?>
                <div class="col-xl-4 col-lg-3 col-md-3 col-12">
                  <div class="sec_col">
                    <div class="categorie collapse " id="contectus">
                      <ul class="contact-space">
                        <li>
                          <i class="fas fa-map-marker-alt location-icon" style="color: #d90032;"></i>
                          <span class="number">
                            <?php echo htmlspecialchars($setting['address'] ?? 'xx省xx市xxxxx'); ?>
                          </span>
                        </li>
                      </ul>
                    </div>
                  </div>
                </div>

                <div class="col-xl-2 col-lg-3 col-md-3 col-12">
                  <div class="sec_col">
                    <div class="categorie collapse " id="categories">
                      <ul class="contact-space">
                        <li class="mail-spac">
                          <i class="fas fa-phone-alt calll-iconn"></i>
                          <span class="number">
                            <?php echo htmlspecialchars($setting['phone'] ?? '+86 111-2222-3333'); ?>
                          </span>
                        </li>
                      </ul>
                    </div>
                  </div>
                </div>

                <div class="col-xl-3 col-lg-3 col-md-3 col-12">
                  <div class="sec_col">
                    <div class="categorie collapse " id="information">
                      <ul class="contact-space">
                        <li class="mail-spac">
                          <i class="fas fa-envelope maill-icon"></i>
                          <span class="mail">
                            <?php echo htmlspecialchars($setting['email'] ?? '123456@example.com'); ?>
                          </span>
                        </li>
                      </ul>
                    </div>
                  </div>
                </div>

                <div class="col-xl-3 col-lg-3 col-md-3 col-12">
                  <div class="sec_col">
                    <!-- footer_title -->
                    <div class="categorie collapse " id="newsletter">
                      <ul class="contact-space">
                        <li>
                          <form class="">
                            <div class="topic-spacing2">
                              <figure class="platforms">
                                <img src="assets/image/icon/store1.png" alt="#" class="img-fluid window_store">
                                <img src="assets/image/icon/store2.png" alt="#" class="img-fluid i-phone-app-store">
                              </figure>
                            </div>
                          </form>
                        </li>
                      </ul>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <section class="bg-light">
        <div class="container-fluid fasion-space">
          <div class="row">
            <div class="col-12">
              <div class="row last-second-footer2">
                <div class="col-12 d-flex justify-content-center">
                  <p class="tredmark">2025 @ All rights reserved.</p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </section>
    </div>
  </footer>